My Profile_


osCommerce

Support Contact

Prerequisites


  1. You must have a Moneris Gateway Merchant Account
  2. You must have the osCommerce Moneris Plugin v1.5.1
    Download

Setup Guide


Step 1

Inside the Moneris Gateway merchant account, you need to obtain an API Token. Go to My Account and click on the ADMIN. Then click on Store Settings and click on the button to generate an API Token.

Merchant Resource Center select Admin

Merchant Resource Center select Store Settings

Merchant Resource Center Generate API Token

Step 2
oSCommerce Installation:
  1. Login to MySQL and run the Moneris.sql script in the osCommerce database.
  2. Copy the module.payment.moneriscampg.php file to the \catalog\includes­\modules\payment folder on your web server and rename it to moneriscampg.php
  3. Copy the language.english.moneriscampg.php file to the \catalog\includes\languages­\english\modules\payment folder on your web server and rename it to moneriscampg.php
  4. Copy the CANmpgClassesOsc.php and CANmpiClassesOsc.php file to the \catalog\includes\classes\ folder
  5. Copy the file orders_addon_campg.php to the \catalog\admin\ then insert bolded code <?php include ("orders_addon_campg.php") ?> in \catalog\admin\orders.php as displayed. (Approximately at line 204)
  6. Configure the Moneris Gateway payment module in the osCommerce administration page under Module->Payment section. Click on Install to enable the Moneris Gateway payment module and press edit to configure the payment parameters.
  7. Modify the verbiage of the error messages and other display in the shopping cart in the \catalog\includes­\languages\english\modules­\payment\moneriseselectplus.php. Please refer to Appendix E: Definitions of Label Constants for the definitions of each label.
PHP Code Snippet

Step 3
osCommerce Module Confirguration
  1. Enable Moneris Gateway Module
  2. Environment
    • Testing: https://esqa.moneris.com
    • Production: https://www3.moneris.com
  3. Transaction Completion Completion on checkout or Manual Completion
  4. Store ID and API Token Authentication credentials for your Moneris merchant account
  5. Order ID Prefix
  6. Number of Retries
  7. Visa Card Transactions Choose One
    • Do Not Accept
    • Normal Transaction Only
    • Perform AVS/CVD
    • Perform VbV
    • Perform VbV and AVS/CVD
  8. MasterCard Transactions Choose One
    • Do Not Accept
    • Normal Transaction Only
    • Perform AVS/CVD
    • Perform VbV
    • Perform VbV and AVS/CVD
  9. American Express Transactions Choose One
    • Do Not Accept
    • Normal Transaction Only
    • Perform CVD
  10. Discover Transactions Choose One
    • Do Not Accept
    • Normal Transaction Only
    • Perform AVS
  11. Other Card Types Transactions Choose One
    • Do Not Accept
    • Normal Transaction Only
  12. Card Verification Digit (CVD) Choose One
    • Full Matches Only
    • Allow unparticipated Cards
    • Do Not Perform
  13. Address Verification Service (AVS) Fill in this field with all suitable result codes

For more detailed instructions please refer to the osCommerce Integration Guide found here.